md extensions
cd extensions

IF EXIST cc-gizmos-tools (
goto update
) ELSE (
goto clone
)

:clone
git clone -b master https://gitee.com/change_yc/cc-gizmos-tools
goto npmInstall

:update
cd cc-gizmos-tools
git pull
goto npmInstall

:npmInstall
cd cc-gizmos-tools
npm install